﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace T.E.ERP.Domains.Vendors
{
    /// <summary>
    /// 原料供应商管理表
    /// </summary>
    public class MaterialSupplier
    {
        /// <summary>
        /// 供应商id
        /// </summary>
        [Key]
        public int Supid { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }

        /// <summary>
        /// 简称
        /// </summary>
        public string Supption { get; set; }



        /// <summary>
        /// 省
        /// </summary>
        public int Province { get; set; }




        /// <summary>
        /// 市
        /// </summary>
        public int City { get; set; }



        /// <summary>
        /// 县
        /// </summary>
        public int County { get; set; }



        /// <summary>
        /// 供应料品(外键)
        /// </summary>
        public int Suppliedid { get; set; }



        /// <summary>
        /// 供应商分类(外键)
        /// </summary>
        public int SupplierCid { get; set; }

        /// <summary>
        /// 供应商等级(A级，b级，c级)
        /// </summary>
        public string SupplierG { get; set; }


        /// <summary>
        /// 公司地址
        /// </summary>
        public string SuppAddress { get; set; }


        /// <summary>
        ///邮编
        /// </summary>
        public string PostalCode { get; set; }


        /// <summary>
        /// 电话
        /// </summary>
        public string Telephone { get; set; }




        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }



        /// <summary>
        /// 开户行
        /// </summary>
        public string SBank { get; set; }

        /// <summary>
        /// 地址电话
        /// </summary>
        public string SAddress { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string SAddAccount { get; set; }

        /// <summary>
        /// 税号
        /// </summary>
        public string TaxNumber { get; set; }


        /// <summary>
        /// 业务联系人
        /// </summary>
        public string Bines { get; set; }


        /// <summary>
        /// 业务手机号
        /// </summary>
        public string BinesPhone { get; set; }

        /// <summary>
        /// 财务联系人
        /// </summary>
        public int Financial { get; set; }

        /// <summary>
        /// 财务手机号
        /// </summary>
        public int FinancialPhone { get; set; }

        /// <summary>
        /// 删除(bool)逻辑删除
        /// </summary>
        public bool SDelete { get; set; }
    }
}
